﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
   public class LinhVuc_BLL
    {
       LinhVuc_Data dinhdang_data = new LinhVuc_Data();
        public DataTable TaoBang(string sql)
        {
            return dinhdang_data.TaoBang(sql);
        }
        public DataTable LayDuLieu()
        {
            return dinhdang_data.LayDuLieu();
        }
        public int Insert(LinhVuc_Public maLinhVuc, LinhVuc_Public tenLinhVuc, LinhVuc_Public ghiChu)
        {

            return dinhdang_data.Insert(maLinhVuc,tenLinhVuc,ghiChu);
        }
        public int Update(LinhVuc_Public maLinhVuc, LinhVuc_Public tenLinhVuc, LinhVuc_Public ghiChu)
        {
            return dinhdang_data.Update(maLinhVuc,tenLinhVuc,ghiChu);
        }
        public int Delete(LinhVuc_Public maLinhVuc)
        {
            return dinhdang_data.Delete(maLinhVuc);
        }
    }
}
